
= simple_form_for(@member_card_detail, html: {class: 'form-vertical', novalidate: true}, wrapper: :vertical_form) do |o|
  .row
	  .col-md-12.hidden
	    = o.input :member_card_id, input_html: { value: params[:id] }
	  .col-md-12
	    a href="/packages" 增加
	    = o.association :package, label: '套餐', collection: @packages
	    
	    = o.input :times, label: '次数', input_html: { value: 1 }

	    = o.button :submit, "保存", :class => 'btn-success btn-xs'